package main;

import java.util.Arrays;

/**
 * Created with Intellij IDEA.
 * Description:
 * User: 33013
 * Date: 2023-03-11
 * Time: 8:17
 */
class Animal1 {
    public void print(){
        System.out.println("hhh");
    }
}
class Dog1 extends Animal1 {
    @Override
    public void print() {
        System.out.println("jjj");
    }
    public void print1(){
        System.out.println("ggg");
    }
}

public class Test {
    public static void main(String[] args) {

        Animal1 animal = new Dog1();
        animal.print();
        int arr[] = {1,2,3,4,5};
        System.out.println(Arrays.toString(arr));
        int[][] arr2 = new int[3][];
        arr2[1] = new int[5];
        arr2[0] = new int[4];
    }
}
